package com.zt.ztyh.admin.service;

import com.sun.jdi.InternalException;
import io.minio.errors.InsufficientDataException;
import io.minio.errors.InvalidResponseException;
import io.minio.errors.XmlParserException;
import org.springframework.web.ErrorResponseException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.rmi.ServerException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

public interface FileUploadService {
    String fileUpload(MultipartFile file) throws ServerException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InternalException, io.minio.errors.ServerException, InsufficientDataException, io.minio.errors.ErrorResponseException, InvalidResponseException, XmlParserException, io.minio.errors.InternalException;
}
